package com.talkweb.platform.commonapi.entity.db;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@Entity
@Table(name = "BPM_DataDicConfig")
@ApiModel(value = "BpmDataDicConfig", description = "数据字典")
public class BpmDataDicConfig  implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "WF_OrUnid")
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "SELECT REPLACE(UUID(),'-','')")
	private String orUnId;

	@Column(name = "WF_Appid")
	@ApiModelProperty(value = "所属应用ID", required = false)
	private String appId;
	
	@ApiModelProperty(value = "所属应用名", required = false)
	private String appName;

	@Column(name = "ParentFolderid")
	@ApiModelProperty(value = "父节点", required = false)
	private String parentFolderid;

	@Column(name = "Folderid")
	@ApiModelProperty(value = "当前节点", required = false)
	private String folderid;

	@Column(name = "DataName")
	@ApiModelProperty(value = "属性名", required = false)
	private String dataName;

	@Column(name = "Dataid")
	@ApiModelProperty(value = "属性值", required = false)
	private String dataid;

	@Column(name = "FormNumber")
	@ApiModelProperty(value = "新增配置绑定表单", required = false)
	private String formNumber;

	@Column(name = "GridNumber")
	@ApiModelProperty(value = "所有配置列表绑定视图", required = false)
	private String gridNumber;

	@Column(name = "FormatJson")
	@ApiModelProperty(value = "#JsonData", required = false)
	private String formatJson;

	@Column(name = "SortNum")
	@ApiModelProperty(value = "排序", required = false)
	private String sortNum;

	@Column(name = "WF_Authors")
	@ApiModelProperty(value = "创建人", required = false)
	private String authors;

	@Column(name = "WF_DocCreated")
	@ApiModelProperty(value = "创建时间", required = false)
	private String docCreated;

	@Column(name = "WF_LastModified")
	@ApiModelProperty(value = "最后更新时间", required = false)
	private String lastModified;

	@Column(name = "WF_AddName")
	@ApiModelProperty(value = "创建人ID", required = false)
	private String addName;

	@Column(name = "WF_AddName_CN")
	@ApiModelProperty(value = "创建人名称", required = false)
	private String addNameCn;

}

